<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name=”renderer” content=”webkit”>
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
<meta name="format-detection" content="telephone=no" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<title>东明家居集团-活动分析管理系统</title>
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/iview.css">
<link rel="stylesheet" href="css/style.css">
<script src="js/jquery-1.11.1.min.js" type="text/javascript"></script>
<link href="js/toastr/toastr.css" rel="stylesheet">
</head>
<body>
<div class="container-fluid" id="app">
     <!-- breadcrumb -->
      <template class="page-header">
          <breadcrumb class="pull-left">
              <breadcrumb-item to="welcome.html" >首页</breadcrumb-item>
              <breadcrumb-item>销售统计</breadcrumb-item>
          </breadcrumb>
      </template>
      <!-- 搜索条件 -->
      <div class="table-margin">
          <row>
              <i-col span="3" class-name="mr10" style="width:150px;">
                  <date-picker type="date" v-model="EditDate" placeholder="选择日期" ></date-picker>
              </i-col>                
              <i-col span="3" class-name="mr10" style="width:150px;">
                  <i-select v-model="Store" placeholder="选择店面" clearable>
                      <i-option v-for="item in StoreList" :value="item.value" :key="item.value" ></i-option>
                  </i-select>                  
              </i-col>
              <i-col span="3" class-name="mr10" style="width:150px;" >
                  <i-select id="Theme" v-model="Theme" placeholder="选择活动主题" clearable>
                      <i-option v-for="item in ThemeList" :value="item.value"  :key="item.value">{{item.label}}</i-option>
                  </i-select>
              </i-col>
              <i-col span="3" class-name="mr10" style="width:150px;">
                  <i-select v-model="Type" placeholder="选择收支" clearable>
                      <i-option v-for="item in TypeList" :value="item.value" :key="item.value" ></i-option>
                  </i-select>                  
              </i-col>                  
              <i-col span="3" class-name="mr10" style="width:150px;">
                  <i-select v-model="FirstLevel" placeholder="选择一级项目" @on-change="querySecondLevel" clearable>
                      <i-option v-for="item in FirstLevelList" :value="item.value" :key="item.value" >{{item.label}}</i-option>
                  </i-select>                  
              </i-col>
              <i-col span="3" class-name="mr10" style="width:150px;">
                  <i-select v-model="SecondLevel" placeholder="选择二级项目" @on-change="queryThirdLevel" clearable>
                      <i-option v-for="item in SecondLevelList" :value="item.value" :key="item.value" >{{item.label}}</i-option>
                  </i-select>                  
              </i-col>
              <i-col span="3" class-name="mr10" style="width:150px;" >
                  <i-select v-model="ThirdLevel" placeholder="选择三级项目" clearable>
                      <i-option v-for="item in ThirdLevelList" :value="item.value" :key="item.value" >{{item.label}}</i-option>
                  </i-select>                  
              </i-col> 
              <i-button type="primary" @click="querytable" class="mr10">搜索</i-button>
              <i-button type="primary" @click="reset" class="mr10">重置</i-button>
              <span style="font-size: 16px;font-weight: bold;">金额合计：<span style="color: #c00">{{TotalMoney}}</span>元</span>
          </row>
          <row class="datas" style="margin-top: 15px;">
              <i-col>销售总额：<span>{{QFormItem.SaleTotalSum}}</span></i-col>
              <i-col>收入：<span>{{QFormItem.SRTotal}}</span></i-col>
              <i-col>支出：<span>{{QFormItem.ZCTotal}}</span></i-col>
              <i-col>差额：<span>{{QFormItem.ChaE}}</span></i-col>
              <i-col>费效比：<span>{{QFormItem.FXRateStr}}</span></i-col>
          </row>
      </div>
      <!-- 搜索结果 -->
      <div class="table-margin">
           <i-table :columns="columns1" :data="data1" algin="center" class="table_style"></i-table>  
      </div>
      
</div>
</body>
<script src="js/vue.js"></script>
<script src="js/iview.min.js"></script>
<script src="js/toastr/toastr.min.js"></script>
<script src="js/statistics/statistics.js"></script>

</html>

  

  

  

  

  
